package cuit.cx.groupcomment.model;

import java.util.HashSet;
import java.util.Set;

/**
 * Groupon entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Groupon implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer businissId;
	private String shopName;
	private String name;
	private String introdution;
	private String prompt;
	private Float nowPrice;
	private Float oldPrice;
	private Long startTime;
	private Long endTime;
	private String shopIntro;
	private String groupType;
	private Set pictures = new HashSet(0);
	private Set orderses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Groupon() {
	}

	/** minimal constructor */
	public Groupon(Integer businissId, String shopName, String name,
			String introdution, String prompt, Float nowPrice, Float oldPrice,
			Long startTime, Long endTime, String shopIntro, String groupType) {
		this.businissId = businissId;
		this.shopName = shopName;
		this.name = name;
		this.introdution = introdution;
		this.prompt = prompt;
		this.nowPrice = nowPrice;
		this.oldPrice = oldPrice;
		this.startTime = startTime;
		this.endTime = endTime;
		this.shopIntro = shopIntro;
		this.groupType = groupType;
	}

	/** full constructor */
	public Groupon(Integer businissId, String shopName, String name,
			String introdution, String prompt, Float nowPrice, Float oldPrice,
			Long startTime, Long endTime, String shopIntro, String groupType,
			Set pictures, Set orderses) {
		this.businissId = businissId;
		this.shopName = shopName;
		this.name = name;
		this.introdution = introdution;
		this.prompt = prompt;
		this.nowPrice = nowPrice;
		this.oldPrice = oldPrice;
		this.startTime = startTime;
		this.endTime = endTime;
		this.shopIntro = shopIntro;
		this.groupType = groupType;
		this.pictures = pictures;
		this.orderses = orderses;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getBusinissId() {
		return this.businissId;
	}

	public void setBusinissId(Integer businissId) {
		this.businissId = businissId;
	}

	public String getShopName() {
		return this.shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIntrodution() {
		return this.introdution;
	}

	public void setIntrodution(String introdution) {
		this.introdution = introdution;
	}

	public String getPrompt() {
		return this.prompt;
	}

	public void setPrompt(String prompt) {
		this.prompt = prompt;
	}

	public Float getNowPrice() {
		return this.nowPrice;
	}

	public void setNowPrice(Float nowPrice) {
		this.nowPrice = nowPrice;
	}

	public Float getOldPrice() {
		return this.oldPrice;
	}

	public void setOldPrice(Float oldPrice) {
		this.oldPrice = oldPrice;
	}

	public Long getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Long startTime) {
		this.startTime = startTime;
	}

	public Long getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Long endTime) {
		this.endTime = endTime;
	}

	public String getShopIntro() {
		return this.shopIntro;
	}

	public void setShopIntro(String shopIntro) {
		this.shopIntro = shopIntro;
	}

	public String getGroupType() {
		return this.groupType;
	}

	public void setGroupType(String groupType) {
		this.groupType = groupType;
	}

	public Set getPictures() {
		return this.pictures;
	}

	public void setPictures(Set pictures) {
		this.pictures = pictures;
	}

	public Set getOrderses() {
		return this.orderses;
	}

	public void setOrderses(Set orderses) {
		this.orderses = orderses;
	}

}